package com.demo.xmtx.entity;

import java.util.Date;
import lombok.Data;

@Data
public class Inventory {
  private Long id;
  private Long productId;
  private Integer stock;
  private Integer version; // 乐观锁版本号
  private Date createTime;
  private Date updateTime;
}
